Parallel Bounded Quantiication|preliminary Results

نویسندگان

  • Henrik Arro
  • Jonas Barklund
  • Johan Bevemyr
چکیده

We have extended D. H. D. Warren's abstract machine for sequential Prolog with parallel instructions that implement bounded quantiica-tions, an extension to Prolog proposed by Barklund and Bevemyr. These instructions are intended for parallel computers supporting the data parallel programming model. Luther, an emulator for the sequential abstract machine implemented in the C programming language, has been extended with these instructions, implemented in the data parallel C* programming language. We have coded three example programs that use bounded quan-tiications, and run them in the emulator on a Connection Machine model 200, a SIMD parallel computer. We compare the run times on this parallel computer with the run times obtained with a sequential implementation of bounded quantiications on a SUN-4M sequential computer. The best result is that one parallel bounded quantiication program runs 30 times faster on the Connection Machine than an ordinary recursive program implementing the same algorithm running on the sequential computer. It is conceivable that one can obtain far higher speed-ups when running on larger data parallel computers using bounded quantiications. 1 INTRODUCTION Recently, Barklund & Millroth (1992) have proposed bounded quantiica-tions as an extension to sequential and parallel logic programming languages. Barklund & Bevemyr (1992) have deened a particular extension of Prolog with bounded quantiications and also deened extensions to D. H. D. Warren's sequential abstract Prolog machine (1983), a.k.a. WAM, that implement this extension. The resulting language is a strict superset of Pro-log where some computations which otherwise would be written as recursive programs can instead be written as bounded quantiications. The program

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Prolog with Arrays and Bounded Quanti

It is proposed to add bounded quantiications to Prolog. The main reason is one of natural expression, many algorithms are expressed more elegantly in a declarative way using bounded quantiications than using existing means, i.e., recursion. In particular this is true for numerical algorithms, an area where Prolog has been virtually unsuccessful so far. Moreover, bounded quantiication has been f...

متن کامل

Sequential and Parallel Iteration in Logic Programs

Iterative programs are more elegant than their recursive counterparts for many problems and can be executed more eeciently than recursive programs run in the usual way on sequential computers. Moreover, they can often be executed with low overhead on parallel computers. We propose to employ bounded quantiications as an explicit iteration construct for Prolog programs and show that they do run e...

متن کامل

Completely Bounded Quantiication Is Decidable

This paper proves the decidability of subtyping for F when the bounds on polymorphic types do not contain Top (i.e., in all types of the form 8<: 1 :: 2 , 1 does not contain Top). This general restriction is subsequently relaxed to allow unbounded quantiication.

متن کامل

Intersection Types and Bounded Polymorphism

Intersection types and bounded quantiication are complementary extensions of a rst-order programming language with subtyping. We deene a typed-calculus combining these extensions, illustrate its unusual properties, and develop basic proof-theoretic and semantic results leading to algorithms for subtyping and typechecking.

متن کامل

Uniied Cardelli-mitchell's Polymorphic Calculus with Subtyping (preliminary Report) ?

We join Cardelli's and Mitchell's approaches to polymorphic subtyping by introducing a new uniied calculus G that subsumes both Cardelli-inspired systems with rigid subtyping on the one hand, and the more liberal Mitchell's containment calculus F Mit88] on the other. Up until now both approaches were considered incompatible, since F-provable containments between functional and universal types a...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1992